-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: allow asynchronous vue cli init phase #23936
Conversation
Thanks for taking the time to open a PR!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question!
Also related, you can also async specify a webpack config now too, if that's something you are interested in: #23605
const sourceWebpackModulesResult = sourceDefaultWebpackDependencies(devServerConfig) | ||
|
||
try { | ||
const config = require.resolve('@vue/cli-service/webpack.config', { | ||
const Service = require(require.resolve('@vue/cli-service/lib/Service', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, I have not looked at the Vue CLI code in some time. What about users on older versions of Vue CLI? Will they have a problem?
We have tests around this https://github.com/cypress-io/cypress/tree/develop/system-tests/projects/vuecli4-vue2 Vue CLI 4 and Vue 2. Amazingly they are all passing - but I don't understand how this can be the case, unless service/lib/Service
has always been a thing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, the v3 branch of vue-cli contains the file and to me it does not seem like much of the called code has changed.
I think #23605 would allow to move the fix to vue-cli code (e.g. return a promise from their webpack.config.js
), but the main aim of this pull request is to get the default configuration to work with a vue.config.js
and "type": "module"
and I do not know if there are other conflicts on the vue-cli side.
const sourceWebpackModulesResult = sourceDefaultWebpackDependencies(devServerConfig) | ||
|
||
try { | ||
const config = require.resolve('@vue/cli-service/webpack.config', { | ||
const Service = require(require.resolve('@vue/cli-service', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@msebas realized that the main
file of @vue/cli-service
is the Service file so we don't need a deep import to resolve it. Also, I pushed up a test!
Looks good, can you approve @ZachJW34 |
commit 688b7ea33e8243a76fc1b3bd7f5ef7f2bfba07f9 Author: Zach Bloomquist <git@chary.us> Date: Wed Oct 12 17:21:58 2022 -0400 feat(webkit): fix multidomain driver tests in WebKit (#23442) * Initial async changes * Small fixes and test updates. * updating tests * Fixes for cookie login tests * remove the onlys * Most tests passing * Fix driver tests? * fix firefox test? * fix unit tests * fix tests?? * a better check * fix integration tests * minor cleanup * Comment out tyler fix for 10.0 origin issue * also fix integration tests * remove fixmes * Adding Retries for cookie actions. May break other error tests. * Address (some) PR comments * factor console logging out of run.ts * fix print-run * minimize diff * chore(server): convert browsers/index to typescript * fix tests * update stubbed tests * convert electron.js to .ts * Suggestions from code review * Clean up new type errors * electron.connectToExisting can be sync * more type errors for the type god * Suggestions from code review * refactor: move more of video capture into browser automations * unit tests * refactor: move videoCapture to browsers * fix snapshots * update to warn about cross origin command AUT in assertions * Fix type errors * fix multi-spec videos? * webkit video recording works! * webkit system tests * skip system-tests that won't be fixed in this PR ~60 tests skipped out of ~99: * ~6 skipped due to needing multidomain support * ~8 skipped due to missing before:browser:launch support * ~22 skipped due to broken stack traces * fix single-tab mode * cleanup/api renames * fix more tests * minimize diff, fix ff * fix unit tests * fix tests * cleanup * Move document.cookie patch to injection * enable ci job * fix up/add request events to webkit automation * update undefined message * doesn't need an underscore * Adding iframe patching. * forward errors prior to attaching * Add error message when using visit to visit a cross origin site with the onLoad or onBeforeLoad options. * Attempt to fix test errors. * more fixes, but not all * use the origin policy * Fix types * more fixes * consider chromeWebSecurity when checking if you can communicate with the AUT * firefox * prevent hangs if before unload happens after on load. * Fix some ToDos * code cleanup * remove quotes * Code review changes * more cr changes * fix tests possibly * Updating cy.origin websocket for webkit connection error * for realz this time * temp fix for before:unload/load issue * roll back change * Fix some flake * temporarily comment out autWindow.Error patch * updating cookies to match develop * update circle.yml * commenting out driver-integration-tests-webkit-experimentalSessionAndOrigin * revert cookie test change * revert cross origin change * Fix clear cookie problem * Try it again * test cy.origin in webkit * Skip origin tests when running in webkit * missed one * attempt to revert web_security changes * enable sessions on webkit * maybe this fixes system tests?? * Update web_security_spec.js * Update web_security_spec.js * file cleanup * Unify socket creation logic * Address PR Comments Co-authored-by: mjhenkes <mjhenkes@gmail.com> Co-authored-by: Matt Schile <mschile@cypress.io> commit b7213c9bf03b0d2974ff83a52b2d7b1dfe6bba0c Author: Adam Stone <adams@cypress.io> Date: Wed Oct 12 17:01:49 2022 -0400 chore: bump timeout for Angular webpack-dev-server tests (#24231) commit 1e94afcabdf74b71fe56f707ba1e4e854f3f047c Author: Aishe Ibrahim <adnerdable@gmail.com> Date: Wed Oct 12 15:11:18 2022 -0400 chore: fixed tyos docs line 386 & 387 (#24180) Co-authored-by: Bill Glesias <bglesias@gmail.com> commit 74ef8843f672562058d45b75797b9ab79130e16b Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Wed Oct 12 13:15:04 2022 -0500 fix(reporter): attempt styles (#24134) commit 4e2abf35f884ea6b53f54a1bd1cda50828d074a4 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Wed Oct 12 12:39:25 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit 2d63fea7d3640c0e8c8f24625faf6bb984920807 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Wed Oct 12 12:39:09 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit a794417094bce4feb7fd7cd475f8305dc81baf18 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Wed Oct 12 12:38:53 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit 42343881de271edc6d771f3503c07e76d63c6e1c Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Wed Oct 12 12:38:38 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit f169a8b2ff3d315ab9fbfa25b189ccd2fce4eb53 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Wed Oct 12 12:38:26 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit 7f2c621ddddfabbeb6eca8881e5a63aa303c91dd Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Wed Oct 12 12:38:13 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit 16fadb38f3185fdf912fe6e65891c6435d675842 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Wed Oct 12 12:38:01 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit 485b400810d9df41b22488ec3ec9d7b60335c1d4 Author: Adam Stone <adams@cypress.io> Date: Wed Oct 12 12:04:25 2022 -0400 chore: update Cypress package description (#24216) commit 653a2266f5890946640b1a1762b4eefe27580cef Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 17:42:06 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit 837a11275ea8c8a1c52ef80c90e9408f700e6a36 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 17:41:52 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit 8978187e674c35475e299432cf307630b7b90392 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 17:41:38 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit 7f23540d3aa4833dd97134e9528f36a3609ac882 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 17:41:23 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit f549f916d85d17c7db62d4980874963da79a6ddc Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 17:41:08 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit 0131e218f1cbe2bd9a5db453e7232463095a4790 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 17:40:54 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit 47b6a6e5348683a73683e9b80039ceeafcdc8130 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 17:40:38 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit d8574c1ed5d9fc40ff60863ac1f10bdc31c6ed0d Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 17:40:22 2022 -0400 chore: release @cypress/angular-v1.1.2 [skip ci] commit d4e8842a2aaaafd7033f9d155ac27f931f240cbf Author: Adam Stone <adams@cypress.io> Date: Tue Oct 11 21:05:43 2022 +0000 chore: bump Cypress version (#24211) commit 0bb705c185aa59ebcc6d2a38d936f984ac51f26b Author: Kukhyeon Heo <sainthkh@naver.com> Date: Wed Oct 12 03:41:54 2022 +0900 chore: Migrate react Highlight component to Vue (#23973) * add test. * Add Highlight vue component + remove react component. * Remove floating-ui dependency. * fix test failure Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> commit 53eef4fbd7e1caf32f0183cadbc0e4cf05524c34 Author: Zachary Williams <ZachJW34@gmail.com> Date: Tue Oct 11 09:21:32 2022 -0500 fix: angular and nuxt ct tests now fail on uncaught exceptions (#24122) commit d0f13e93ef2d928247eb9bed93f50d2d9d275180 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 09:32:49 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit 2a7d2dbfca41cb7f59f2507bcc9541470ec4e186 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 09:32:35 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit 5334ad2ed20c30a8e5f5a734d5e5ff43a31babfc Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 09:32:21 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit 66952dedb7a08545c0d4ea4a4cfed200ab25e0c7 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 09:32:02 2022 -0400 chore: release @cypress/vite-dev-server-v3.3.1 [skip ci] commit ca9fb8f8fd34a86e922c90efc7e62a3bfc8e2681 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 09:31:54 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit fb40f688e8539127e2d40c706e40b754fddc64f2 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 09:31:40 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit e14e6d1669b2a2086d1a56988a801605aff1864c Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 09:31:27 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit 57babc3ef55e51f1c64a23294857d2d3a5e6809f Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 11 09:31:11 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit 0e62696a0ed771794d1ccb350e8b9e01aa0a2e14 Author: Matt Schile <mschile@cypress.io> Date: Mon Oct 10 21:45:48 2022 -0600 fix: add support for checking multiple hosts when connecting to CDP (#24155) commit 0c42a7e73b925aa6add6bb06a37b4296a54dbfdd Author: Stokes Player <stokes@cypress.io> Date: Fri Oct 7 15:16:22 2022 -0400 fix: include cypress version in header to anon-collect endpoint (#24158) commit 5af6b27ed972ba9bc03d4a7fa4eaaeb2c7848fc3 Author: amehta265 <65267668+amehta265@users.noreply.github.com> Date: Fri Oct 7 12:24:54 2022 -0400 fix: CSS import in CT Support file is not working (#24117) commit 3edd5be6700889a996e47a02de0c4a390254a86f Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Oct 6 14:11:22 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit f0987f40f7c5588937c4790fd15f55fe70db245e Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Oct 6 14:11:10 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit 98c9a4b30433e78654737f8fefe6d86d393d3cb4 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Oct 6 14:10:57 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit e83130af278a55906c9a4cd135c3b30779720598 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Oct 6 14:10:38 2022 -0400 chore: release @cypress/vite-dev-server-v3.3.0 [skip ci] commit 8f4788d9a09bfd3ecbf3e9e12764dd8215d9016c Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Oct 6 14:10:29 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit e7b2ff04b8196a2ce367cce4f1fc2b95e83a14e2 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Oct 6 14:10:15 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit ab4fda9d677be19786611195b8d916c81146117e Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Oct 6 14:09:59 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit c305a1a3ee7ce72c48f30ae21e3f6ec23ddd4549 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Oct 6 14:09:44 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit eaa1de7ff76cf0ae6730e8df19594b60b762be01 Author: Mark Noonan <mark@cypress.io> Date: Thu Oct 6 13:38:50 2022 -0400 feat: add logic for "cypress-triggered events" (#24101) Co-authored-by: Zachary Williams <ZachJW34@gmail.com> commit 139046619b98b78858a6b711b5359df2d1250377 Author: Jordan <jordan@jpdesigning.com> Date: Thu Oct 6 11:44:58 2022 -0400 test(webpack-dev-server): add more angular mount tests (#23569) commit e918fc1a8c1b26b25207e42a6b8a879b0a3e9a2b Author: Mike Plummer <mike-plummer@users.noreply.github.com> Date: Thu Oct 6 09:50:44 2022 -0500 fix: Address Vite sourcemap edge cases (#24063) commit 3e014743909b35f54b697d2a759e4a2c5b67b5b7 Author: Mike Plummer <mike-plummer@users.noreply.github.com> Date: Wed Oct 5 13:41:56 2022 -0500 feat: Disable file watching in component tests in run mode (#24097) commit 70f4945430bc143c7fa1fa3db7a14aa4ac248fd2 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Wed Oct 5 11:45:53 2022 -0500 fix(reporter): fix nested command styles (#24132) commit 93a16b7247ab6f89723d6cfed2741d792d196099 Author: Jordan <jordan@jpdesigning.com> Date: Wed Oct 5 07:08:18 2022 -0400 docs: Add xpath and grep to npm packages documentation (#23941) commit 4904684c2f0c1c081bc7a302ddc19ed0dba77c22 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 4 18:56:27 2022 -0400 chore: release @cypress/webpack-preprocessor-v5.14.0 [skip ci] commit ce392544e355ef5e2744b704b4153c701e029f20 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 4 18:56:20 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit f4fb9582c040ac3a87aefef2cbdb00b26aeeb097 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 4 18:56:09 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit 23e84add391931e4323bc97aa1a6e1a0680780e9 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 4 18:55:58 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit 9a76b77f2115a4c8272772cb11e644ad7b1a1010 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 4 18:55:45 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit 16fd17326d7e9486ca5a582001750d0521a2eea5 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 4 18:55:34 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit 7a15c847264e315765686a493d19f371c82a8b66 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 4 18:55:22 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit caf909305467a1215fbe3705d38552432ed42ff5 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Oct 4 18:55:12 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit 695dd275bcca75543fccefb92afe6bc7700f15ef Author: Bill Glesias <bglesias@gmail.com> Date: Tue Oct 4 18:26:04 2022 -0400 feat: same origin spec bridges (#23885) * chore: enforce strict origin spec bridges chore: refactor spec bridges to strictly enforce same origin fix: wrap fullCrossOrigin injection around feature flag inside buffered response * fix: do NOT set the initial cypress cookie inside the spec bridge as it is sending unecessary cookies * chore: simplify the finding cypress in the injection code * chore: change order in which callback fn is declared * chore: add spec bridge performance issue to validation tests commit a8e4867358486b8737e698045563b8149d98ae9c Author: Vilhelm Melkstam <vilhelm.melkstam@gmail.com> Date: Tue Oct 4 22:45:04 2022 +0200 fix: clamp command output to 50 lines (#24089) Co-authored-by: astone123 <adams@cypress.io> commit e02a0b99897807095d48e30e59027a87825a253b Author: Stokes Player <stokes@cypress.io> Date: Tue Oct 4 14:28:34 2022 -0400 fix: Passing cohort through to SelectCloudProjectModal (#24071) commit 4870b7f1bb237aa26cbe31ec1d6521e5e1e9aa3a Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Tue Oct 4 10:49:02 2022 -0500 chore(server): organization of cloud-specific files (#24028) commit c18678381ca3ab35c4ab91fdf98b5c8cf537bd21 Author: Jordan <jordan@jpdesigning.com> Date: Tue Oct 4 10:46:42 2022 -0400 fix(angular): set webpack base so angular assets load (#24106) * fix(angular): set webpack base so angular assets load commit d9c5e576728498ccef05193599fe3cd982d59b69 Author: Matt Schile <mschile@cypress.io> Date: Tue Oct 4 08:34:48 2022 -0600 chore: set rejectUnauthorized for api calls (#24087) commit ed35eaa48effe4e9de36b15c4daf529fc0dacee6 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 21:23:50 2022 -0400 chore: release @cypress/webpack-preprocessor-v5.13.1 [skip ci] commit 2898121b7f14fb38b45bee9be32ec13471358b34 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 21:23:42 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit f58875f412ff61a7b260383f3df36f337111577c Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 21:23:30 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit 1e355f41f9f6ca80a4d6fba48f002a4d1ea78fb6 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 21:23:17 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit 9b37fc29d3027b0550dbc128ceb02329c63462d0 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 21:23:04 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit 48e4b84ed34c9d9516888e1921b6f5b6fe3e0eae Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 21:22:52 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit 89a605d21ae2f133f53203a0583faba677289dfe Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 21:22:39 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit 9078d1edf5a4c7a9a8aa46dc46a70617af8f82ed Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 21:22:26 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit 94b4ca0b462e3682af007b6204713da293ac2bd8 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 21:22:10 2022 -0400 chore: release @cypress/angular-v1.1.1 [skip ci] commit e72d607814a08e3f6310bf91c24ecd8fc160ff3a Author: Chris Breiding <chrisbreiding@users.noreply.github.com> Date: Mon Oct 3 20:49:00 2022 -0400 fix(webpack-preprocessor): Move md5 from devDependencies to dependencies (#24098) commit 670d43830947c3ea93ef9fdc9c90932a817eb453 Author: Jordan <jordan@jpdesigning.com> Date: Mon Oct 3 18:17:46 2022 -0400 fix(angular): call ngOnChanges after mount (#23596) * fix(angular): call ngOnChanges after mounting commit 097603422535f88aed56b651824d0a3a9d5e81ff Author: Colum Ferry <cferry09@gmail.com> Date: Mon Oct 3 21:49:13 2022 +0100 fix(webpack-dev-server): handle polyfills array for upcoming angular 15 change (#24064) Co-authored-by: Zachary Williams <zachjw34@gmail.com> commit e626679c246ea33c83180d516599af637c3e443b Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 15:51:40 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit 98f8dcef5795299a1c5ea4681e509f9d9ead0dad Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 15:51:28 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit 1591c0966b073c74306ca998cee96b85438372b8 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 15:51:16 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit 6084976ad1c9e60fb5091194a7b08098873c4851 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 15:51:04 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit 77fd5c03f11e60b47e0375c9e2d8c1993b7da5b2 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 15:50:53 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit 05474b4dd568c6404e4381dce491866d2119c2b2 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 15:50:40 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit 0c0849154c49405a7e97c99830f7ea3171ee968e Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Oct 3 15:50:29 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit 282455c6ea70c5020f68de8d9c74eacf7c6c3c5a Merge: a76df0b4fd 3208af6b29 Author: Bill Glesias <bglesias@gmail.com> Date: Mon Oct 3 15:18:57 2022 -0400 Merge pull request #23872 from cypress-io/feature/simulated-top-cookie-handling feat: Improve simulated top cookie handling commit 3208af6b2941ef43c932a606be4e8142159d1526 Merge: a41b104880 a76df0b4fd Author: Bill Glesias <bglesias@gmail.com> Date: Mon Oct 3 10:06:16 2022 -0400 Merge branch 'develop' into feature/simulated-top-cookie-handling commit a41b104880843e9d3d176c950f215b7e843d2d4e Author: Bill Glesias <bglesias@gmail.com> Date: Mon Oct 3 10:05:34 2022 -0400 chore: simulated cookie fixes 1 (#24060) * chore: add documentation to CDP,electron, and web extension for selected resource types * chore: change nomenclature of X-Cypress-Request to X-Cypress-Is-XHR-Or-Fetch * chore: remove no longer applicable comment for socket code * chore: add comments to the resourceType/credential manager commit a76df0b4fd0293674cb9d115950697a04447ba9a Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Sat Oct 1 11:50:38 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit 32d7096af88e23d54b982a037d9bce53e79072a4 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Sat Oct 1 11:50:26 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit b3a9c046b4f93f84ad9c462e707f8ec4102d70a2 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Sat Oct 1 11:50:15 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit ff2ac2aff3adf42823e631bfb5993090830e44bf Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Sat Oct 1 11:50:03 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit 5cb1db1bfbe9c7416b939090aa49b90ed1ba3570 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Sat Oct 1 11:49:52 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit 5647f35903fe9504623de3629f95569f0970d06e Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Sat Oct 1 11:49:41 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit bc0c39d0be5e19cafacce018ff75a88819091ccb Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Sat Oct 1 11:49:29 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit a07f103e8e6881382eca746a542b7b5eb45f0db6 Merge: 7ff592b12d 06663ac244 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Sat Oct 1 10:19:37 2022 -0500 Merge pull request #23984 from cypress-io/sessions-handle-setup-err commit 06663ac2448395b7b1214223ba222172b9660579 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Sep 30 15:15:45 2022 -0500 fix scenario when command fails in validates callback commit b26544cb732b38f23ab442021fc78fe8fd09c641 Merge: 2a0fc472e6 7ff592b12d Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Fri Sep 30 12:51:13 2022 -0500 Merge branch 'develop' into sessions-handle-setup-err commit 7ff592b12debfbff24c5c48f736ac3a648a43da1 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 13:17:38 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit 7c03dddd497e59b2493864781d3a37d02c38bd46 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 13:17:27 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit bb28aa8d9512418a290766f4ef7e8251b693c572 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 13:17:16 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit ddbdcc9754f73c3ddd53f7a6867debf1f2ee3eac Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 13:17:05 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit 4434096a85a4608fbd1edafe1dcc80e44c37f506 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 13:16:54 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit b1c789785dcedec75223a4731ae70862114b1447 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 13:16:43 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit cbda042781293d3f15837a6386e1ae2021c0503f Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 13:16:32 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit 3e9aa5cbed8be937f7ed4981d251fc54c6425602 Author: Sam Goodger <turbo@tailz.dev> Date: Sat Oct 1 02:40:14 2022 +1000 chore: update mocha-junit-reporter to 2.1.0 (#24056) commit ec5bf9b6a7fa7c3b5893e158a6dd32ef44adc5d9 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 12:37:20 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit 3feb462e539c1b36eec1b3ba59c5b49b3fc5e59d Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 12:37:09 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit 9449bacdffa5b1c6ea5fb516c9dcdfdbacb905f3 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 12:36:59 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit 34de2b7d529cfd8544745705ea8a94a0bc8ebeff Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 12:36:47 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit 57d1e60102fef3581f4214c36eb4efe02972bfb3 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 12:36:37 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit 9d9580e454ddf98694b74ce7696cd5375ec94f3c Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 12:36:26 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit 2fc6f7d2ce94675e266a2cf7bee62c1dc2821f6f Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 12:36:16 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit f9ef9600fb49885c8825213ac863a813f5c7142f Author: Matt Schile <mschile@cypress.io> Date: Fri Sep 30 08:35:24 2022 -0600 chore(deps): upgrade electron to v21.0.0 (#23881) commit 94eb70e2c095a24c2466c081f6c5bf0479f810c4 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 10:31:33 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit 80b62d9c45fe88ea6a66b3c4e2247ab5b24106d1 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 10:31:21 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit fe95e9506712a7ceaa3b565e715d16e82d44ce26 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 10:31:09 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit cc06f881686eb5f47a6533491224afeeac62d2ed Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 10:30:56 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit 4dc067b5b1a975d29cdec488ac179d6e6db8abab Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 10:30:45 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit 1246d6479f12753da01dd74ace63e593a00ed713 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 10:30:33 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit 6fcb7a31b42a9e5e9f25da9ef5a6646433bc933c Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 30 10:30:21 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit cc76ad5bb98ce0960d61267a419605bb3711a3d3 Author: Jordan <jordan@jpdesigning.com> Date: Fri Sep 30 09:59:18 2022 -0400 docs: update license year (#24024) I was reviewing this for another project and noticed this was out of date and figured I'd open a quick PR. commit 2a0fc472e6f226b2b7c3d09de145815958b021e9 Merge: a438382117 2e363d98a1 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Fri Sep 30 08:42:33 2022 -0500 Merge branch 'develop' into sessions-handle-setup-err commit 18a3c9a4210ac0bbf283ad2bc343dbe0c01289af Merge: 1d893bbb1b 2e363d98a1 Author: Bill Glesias <bglesias@gmail.com> Date: Fri Sep 30 08:56:48 2022 -0400 Merge branch 'develop' into feature/simulated-top-cookie-handling commit 2e363d98a1d95fe71c094b828fc300b9fc0471e9 Author: Lachlan Miller <lachlan.miller.1990@outlook.com> Date: Fri Sep 30 09:28:52 2022 +1000 fix: do not double handle errors in component testing (#23957) * fix: do not double catch errors and unhanded exceptions in component testing * add test fixtures * revert whitespace * snaps * better types * improve types * do not double capture errors * add test * adding tests * updates * revert * update * types * give up on types, it is impossible * snaps * fix * remove link commit 7154ab035030d3c67b7930bae82e7a73bff4c55e Author: Lachlan Miller <lachlan.miller.1990@outlook.com> Date: Fri Sep 30 08:16:06 2022 +1000 docs: document mount adapter requirements (#23976) * docs: document mount adapter spec * inject styles earlier * update docs commit a4383821178cc8d86c1878d25650d8e586bdbfeb Merge: 5beb61d7d8 ce1eff2942 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Thu Sep 29 16:05:58 2022 -0500 Merge branch 'develop' into sessions-handle-setup-err commit ce1eff29420decfe515eb66e51e4288b57e25733 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:23:39 2022 -0400 chore: release @cypress/xpath-v2.0.2 [skip ci] commit 7b32f91a2bb97c3d169ed0c476b2e458e56b2af0 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:23:27 2022 -0400 chore: release @cypress/webpack-preprocessor-v5.13.0 [skip ci] commit 22ba0c8ded57533f53de5013bccc601915e960e5 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:23:16 2022 -0400 chore: release @cypress/webpack-dev-server-v2.3.0 [skip ci] commit 23dc52df71119565d4f8f3d4c1e329b772be4053 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:23:05 2022 -0400 chore: release @cypress/vue2-v1.1.0 [skip ci] commit a001cfb3f5c0c0dd483954797bfc3520481ff75f Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:22:53 2022 -0400 chore: release @cypress/vue-v4.2.0 [skip ci] commit 89d509186c7888826edfab3c945a0549bd251333 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:22:36 2022 -0400 chore: release @cypress/vite-dev-server-v3.2.0 [skip ci] commit 4bec2045d045e47af3697a7b567112e9c1d95d0b Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:22:21 2022 -0400 chore: release @cypress/svelte-v1.0.1 [skip ci] commit 5b8cd6d87f5b2e8d2f81214390b87ddf7970839f Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:22:12 2022 -0400 chore: release @cypress/react18-v1.1.0 [skip ci] commit 5cbcf4c5023fa0df00a892ea51e7ee386a6bbc7d Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:22:02 2022 -0400 chore: release @cypress/react-v6.2.0 [skip ci] commit bc1cc0154523a06fe5dc17812865cffe9af9222f Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:21:51 2022 -0400 chore: release @cypress/mount-utils-v2.1.0 [skip ci] commit 0d59f8501c743f18bbc8de4bc2d72186447d359d Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Thu Sep 29 16:21:39 2022 -0400 chore: release @cypress/schematic-v2.1.0 [skip ci] commit e4c71d6b14004233cc0776aa5d24a84f7b9d095d Author: Mike Plummer <mike-plummer@users.noreply.github.com> Date: Thu Sep 29 14:20:04 2022 -0500 fix: Angular14 timeout on Windows (#24045) commit a451d17c666f2cfd50ee9b094a4c0a00e35e94f2 Author: Blue F <blue@cypress.io> Date: Thu Sep 29 09:38:55 2022 -0700 fix: Assertions properly remain pending when paired with certain commands (#24021) commit 5beb61d7d8436e81f26a566656ef393a2639c5b6 Merge: a1c2250055 c813ec8aca Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Thu Sep 29 10:03:06 2022 -0500 Merge branch 'develop' into sessions-handle-setup-err commit c813ec8acac590ec06d3c7ada598df2f6a6b4008 Author: GitStart <1501599+gitstart@users.noreply.github.com> Date: Thu Sep 29 14:49:14 2022 +0000 feat: show tooltips indicating the source of config values (#23470) Co-authored-by: Mark Noonan <mark@cypress.io> Co-authored-by: Zachary Williams <ZachJW34@gmail.com> Co-authored-by: Ben M <benm@cypress.io> Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> commit a1c22500557cfe37dc325c0be545571e2f2c9952 Merge: c99e09b98b f399994e9f Author: Matt Henkes <mjhenkes@gmail.com> Date: Thu Sep 29 00:22:53 2022 -0500 Merge branch 'develop' into sessions-handle-setup-err commit f399994e9ffe5213303d313bf7c49e08a4ff4966 Author: Blue F <blue@cypress.io> Date: Wed Sep 28 12:18:47 2022 -0700 chore: Revert "feat: _addQuery() (#23665)" (#24022) This reverts commit 41fc535dca51cda4e40b5d9fc827d8bff534f3d1. commit daa145f03438553f89fea68676e8d22ee4c87496 Merge: 41fc535dca 97f227005c Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Wed Sep 28 11:13:17 2022 -0500 Merge pull request #24019 from cypress-io/release-svelte commit 41fc535dca51cda4e40b5d9fc827d8bff534f3d1 Author: Blue F <blue@cypress.io> Date: Wed Sep 28 09:01:39 2022 -0700 feat: _addQuery() (#23665) * feat: Commands.addSelector, and migrate .get() to be a selector * Fix for failed tests * Last test fix * More test fixes * Self review changes * Remove the concept of prevSubject from selectors entirely * Rename addSelector to addQuery * Quick fix for last commit * Fix TS * Fix merge from develop * Add types and other review updates * Increase timeout to try fixing flakiness * Rename addQuery to _addQuery * Fix typo in previous commit * Fix TS * Include AUT assertion in cy.get() * Fix for previous commit * Review feedback * Minor test improvement * Swifter failure on sizzle syntax error * Better solution for refetching current subject in verifyUpcomingAssertions * Command IDs now include their chainerId commit 97f227005c40a1fb50479671bd1a7cc037da142c Merge: b86403fcbc d2a7de1d6d Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Wed Sep 28 10:36:56 2022 -0500 Merge branch 'develop' into release-svelte commit b86403fcbcc85ce5be1ca96bbf42357dd24c07dd Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Wed Sep 28 10:26:08 2022 -0500 fix: release svelte commit d2a7de1d6d09053f5d40cff268599b9e2ab1a807 Author: Chris Breiding <chrisbreiding@users.noreply.github.com> Date: Wed Sep 28 11:19:57 2022 -0400 chore: Prevent npm-release failures in one package from stopping other releases (#24017) commit 5f007189d287acc5ce5654fc50fa7245c046711a Author: Matt Schile <mschile@cypress.io> Date: Tue Sep 27 22:45:28 2022 -0600 chore: update cypress-bot username in triage workflow (#24007) commit 10f2961c17495a49bcfef1a5d581eddd1124fb40 Author: Adam Stone <adams@cypress.io> Date: Wed Sep 28 04:09:07 2022 +0000 feat: add RecordRunModal component (#23953) * feat: add RecordRunModal component * feat: add missing assertion * feat: import using @packages syntax * feat: remove unnecessary null check * feat: move record key gql logic to separate component * feat: add another test case * feat: refactor RunsEmpty component * feat: update test * feat: remove unused query * feat: use translation strings in tests * feat: assert that command shows in RecordRunModal Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> commit 296cebb09c91247ce22e34dbdef539dffe250d88 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Tue Sep 27 20:26:24 2022 -0400 chore: release @cypress/angular-v1.1.0 [skip ci] commit 646f22add990e4223815ee2e6deac35c9455405c Author: Chris Breiding <chrisbreiding@users.noreply.github.com> Date: Tue Sep 27 19:39:55 2022 -0400 feat(webpack-preprocessor): add support for cy.origin() dependencies (#24006) Co-authored-by: Matt Schile <mschile@cypress.io> commit 1d893bbb1bcad42cdfbac2b26f45b7b9522da54e Merge: e6d8f45f48 eb7409b205 Author: Bill Glesias <bglesias@gmail.com> Date: Tue Sep 27 18:18:31 2022 -0400 Merge branch 'develop' into feature/simulated-top-cookie-handling commit eb7409b205b35883de7a1489610639289f9a6adf Author: Ryan Manuel <ryanm@cypress.io> Date: Tue Sep 27 22:13:34 2022 +0000 chore: fix npm-cypress-schematic build (#24009) commit e6d8f45f488888cffeee3cbbb08662324f4306cc Merge: 11ed9a622b bc3c6d5ff9 Author: Bill Glesias <bglesias@gmail.com> Date: Tue Sep 27 17:12:14 2022 -0400 Merge branch 'develop' into feature/simulated-top-cookie-handling commit 11ed9a622b9cfea5be5b42c7615fe2554f3a5def Author: Bill Glesias <bglesias@gmail.com> Date: Tue Sep 27 17:11:30 2022 -0400 fix: misc review comments (#23971) * chore: refactor credential manager into its own utility class and add basic unit tests * chore: add firefox comments into the cookie jar commit bc3c6d5ff95d58e5a47b2baeef8526b5ccdc3bfa Author: Chris Breiding <chrisbreiding@users.noreply.github.com> Date: Tue Sep 27 14:53:48 2022 -0400 chore: 10.9.0 release (#24004) commit c99e09b98bda4f9e48ae3be8616ceaf215495024 Merge: 3b7a397528 8bcfe93ba9 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Tue Sep 27 12:50:15 2022 -0500 Merge branch 'develop' into sessions-handle-setup-err commit 8bcfe93ba9aebe67d6decedb904af3ab570e3834 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Mon Sep 26 23:02:13 2022 -0400 chore: release @cypress/angular-v1.1.0 [skip ci] commit a75d3ec81f3405db6721a89875d89cdca0109013 Author: Ryan Duffy <ryan@replay.io> Date: Mon Sep 26 19:16:48 2022 -0700 fix: Detect user-configured browsers (#23446) * fix: Detect user-configured browsers * move user browser lookup into BrowserDataSource * refactor out common browser dedupe logic * simplify allBrowsers * resolve non-machine browsers * pr feedback * added tests * fix test * longer timeout Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Co-authored-by: Zachary Williams <ZachJW34@gmail.com> commit 63b1a9560d6300a5a88401f3df76c4afa8f0efb9 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Mon Sep 26 19:19:10 2022 -0500 chore: delete ui-components package (#23950) * chore: delete ui-components package * add dependency to frontend-shared that was previously provided by ui-components * whoops * fix deps commit bf590eba3f1cf46b04f6a1252e51da5c5a3dc7c2 Author: Mike Plummer <mike-plummer@users.noreply.github.com> Date: Mon Sep 26 17:31:46 2022 -0500 feat: CT stack traces (#23916) Co-authored-by: Zachary Williams <zachjw34@gmail.com> Co-authored-by: astone123 <adams@cypress.io> Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> commit 3aad5a03e9291b11eb86fe68261db84dd87854ea Author: Stokes Player <stokes@cypress.io> Date: Mon Sep 26 18:26:33 2022 -0400 fix: Add missing header and use correct endpoint host (#23982) commit 6a40936604ae24b0b40996692c4a03e5a3c1c9a2 Author: msebas <sebastian.mueller@mcservice.de> Date: Mon Sep 26 23:04:48 2022 +0200 fix: allow asynchronous vue cli init phase (#23936) Co-authored-by: Zachary Williams <ZachJW34@gmail.com> commit 88ecb1e94985ae623365561cc0fd422128e1a3e8 Author: Stokes Player <stokes@cypress.io> Date: Mon Sep 26 16:58:57 2022 -0400 fix: update way that cohorts are cached to remove duplicate key (#23985) commit 26a71fe0193f74758e5f03b141ee76aafa367c17 Author: Adam Stone <adams@cypress.io> Date: Mon Sep 26 18:00:45 2022 +0000 chore: Use the same dashboard project ID for all Cypress monorepo packages (#23981) commit 3b7a3975282509104be1dfe3119dbbedee7aeda8 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Mon Sep 26 12:35:49 2022 -0500 Update system-tests/projects/session-and-origin-e2e-specs/cypress/e2e/session/errors.cy.js Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com> commit c4ecf085b5bb50173538562118c10bfe17577761 Merge: 842be2e200 2727ccd2c2 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Mon Sep 26 11:57:42 2022 -0500 Merge branch 'develop' into sessions-handle-setup-err commit 842be2e200184aff497ab51a3eb7e4743e5b0cc1 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Sep 26 11:52:37 2022 -0500 fix: correctly fail session when setup func has failing command or assertion commit 2727ccd2c2af4f4a8e866f006cf97618d819a6c8 Author: Lachlan Miller <lachlan.miller.1990@outlook.com> Date: Tue Sep 27 01:22:15 2022 +1000 fix: revert accidentally changed yarn.lock (#23975) commit d422aadfa10e5aaac17ed0e4dd5e18a73d821490 Author: Jordan <jordan@jpdesigning.com> Date: Mon Sep 26 11:05:07 2022 -0400 feat(grep): move cypress-grep to @cypress/grep (#23887) move cypress-grep to @cypress/grep commit a5ec234005fead97f6cfdf611abf8d9f4ad0565d Merge: 238ead3c53 1d472268a8 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Mon Sep 26 08:34:26 2022 -0500 Merge pull request #23904 from cypress-io/cache-sessions commit 1d472268a82fed19b041ad0c9cdd285db8cb38b8 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Sep 23 15:55:48 2022 -0500 types commit 34904ee32f7f4508ec75d0049969ad4383c4f14b Merge: 23926c945b 238ead3c53 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Sep 23 15:16:25 2022 -0500 Merge branch 'develop' into cache-sessions commit 23926c945b5c5d080762c3b922a9c040b3db211e Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Sep 23 15:15:56 2022 -0500 fix commit 443a887542ed46e6c963d2503774700a3f8be4bf Merge: 1f6a57da3f 238ead3c53 Author: Bill Glesias <bglesias@gmail.com> Date: Fri Sep 23 15:08:18 2022 -0400 Merge branch 'develop' into feature/simulated-top-cookie-handling commit 238ead3c53399c022f7c99236ccc709768395a61 Merge: 78779a2db1 9413ff6458 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Fri Sep 23 13:37:03 2022 -0500 Merge pull request #23921 from cypress-io/clean-stale-scripts commit 9413ff64589354ec131a872b8b8b4bb8340b85ba Merge: 35d258737d 78779a2db1 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Fri Sep 23 12:03:35 2022 -0500 Merge branch 'develop' into clean-stale-scripts commit 78779a2db13ca6555a6b830dbabeefd3d37bbfe5 Author: Lachlan Miller <lachlan.miller.1990@outlook.com> Date: Sat Sep 24 02:23:06 2022 +1000 fix: fix regression in npm/vue (#23954) commit be73359437e8edd21a441044287907e50043bedd Merge: ca0fe1caf6 17556de482 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Fri Sep 23 11:12:14 2022 -0500 Merge branch 'develop' into cache-sessions commit ca0fe1caf6ecc2282da9c9af4bb9255ae440e773 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Sep 23 11:05:12 2022 -0500 fix broken system -test and improve error handling I spent 3 hrs debugging commit 17556de482e3d86e4637665327092718158a153a Author: Kukhyeon Heo <sainthkh@naver.com> Date: Sat Sep 24 00:49:50 2022 +0900 chore: migrate runner/dom.js to app part 1 (#23792) Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com> commit c9405d1dc481cbf8716814dda1127a38d1fa8b88 Author: semantic-release-bot <semantic-release-bot@martynus.net> Date: Fri Sep 23 11:37:24 2022 -0400 chore: release @cypress/angular-v1.1.0 [skip ci] commit 6f3cfa7f902e365ac16484c8c9baede2842790ae Author: Madhav Saini <99039829+FireNdIce3@users.noreply.github.com> Date: Fri Sep 23 20:29:07 2022 +0530 fix: typo in viewport dropdown (#23789) Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Co-authored-by: Chris Breiding <chrisbreiding@gmail.com> Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com> commit 1f6a57da3fcdc1f7b6116573770351f2b3018a01 Merge: 01ea821926 acc1050dd2 Author: Bill Glesias <bglesias@gmail.com> Date: Fri Sep 23 10:06:38 2022 -0400 Merge branch 'develop' into feature/simulated-top-cookie-handling commit 01ea8219269dee64db0a32cbb0462a2e605c66c4 Author: Bill Glesias <bglesias@gmail.com> Date: Fri Sep 23 10:04:45 2022 -0400 feat: implement simulated top req res middleware (#23888) * test: add correct cookie_behavior assertions before work on server (currently failing) * chore: add types needed in the socket and middlewares * feat: add socket code to server-base (no tests here) to be used in request/response middleware * feat: fill out the ExtractCypressMetadataHeaders implementation * feat: add attach cookie logic to requests based on xhr/fetch requests * feat: add attaching cookies to response logic w/ tests * Update packages/proxy/lib/http/request-middleware.ts Co-authored-by: Matt Henkes <mjhenkes@gmail.com> Co-authored-by: Matt Henkes <mjhenkes@gmail.com> commit acc1050dd2659182fa87729be5ce9c3ca99de94b Author: Ryan Duffy <ryan@replay.io> Date: Thu Sep 22 14:44:58 2022 -0700 feat: Add support for optional env key to browser launch options (#23624) Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com> commit 77c5ebfeb97febf349713bbeecfc006fa2c7d295 Merge: 5f3f959fe1 90729e7d80 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Thu Sep 22 15:05:28 2022 -0500 Merge branch 'develop' into cache-sessions commit 5f3f959fe1756f1ec535107abc3797a689cd88d4 Merge: fdb2f99419 a1b5db6c5c Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 22 13:52:33 2022 -0500 erge branch 'cache-sessions' of https://github.com/cypress-io/cypress into cache-sessions commit fdb2f99419139698a253a3594cb3277af5cc2719 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 22 13:52:25 2022 -0500 link issue commit a1b5db6c5c2484e5595499d66bf36b69e51c3647 Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Thu Sep 22 13:52:03 2022 -0500 Apply suggestions from code review Co-authored-by: Bill Glesias <bglesias@gmail.com> commit 56b4f894aa09755891caa485a5d61db1a05e9206 Author: Bill Glesias <bglesias@gmail.com> Date: Thu Sep 22 10:21:13 2022 -0400 chore: add utility functions in proxy to be used in the near future i… (#23880) * chore: add utility functions in proxy to be used in the near future in the request/response middleware(s) * fix: add isAUTIframe check inside the shouldAttachAndSetCookies, move the siteContext info to the cookies package, simplify top-simulation util, and add better method documentation commit 252ae5ae6783b0843794fe2b07ca95ee014a1510 Merge: 18321f80dd cd2fde9047 Author: Bill Glesias <bglesias@gmail.com> Date: Wed Sep 21 18:29:21 2022 -0400 Merge branch 'develop' of github.com:cypress-io/cypress into feature/simulated-top-cookie-handling commit 18321f80dd1582354db0a628d61cbeabd167c488 Author: Bill Glesias <bglesias@gmail.com> Date: Wed Sep 21 18:27:17 2022 -0400 chore: refactor originPolicy to use superDomainOrigin nomenclat… (#23879) * chore: refactor originPolicy to use superDomainOriginPolicy nomenclature and add sameSite/superDomainOrigin policy functions and make originMatch functions match fully same origin policy including sub domains * chore: change doesAutMatchTopSuperOriginPolicy to doesAUTMatchTopSuperDomainOriginPolicy * chore: rename originPolicy references to just be origin. Rename superDomainOriginPolicy to superDomainOrigin * fix: remove duplicate origin keys and add check for remote.origin to return null * chore: further rename variables to fit origin paradigm * chore: remove latestActiveSuperDomainOrigin as it is no longer used * fix: key order in consoleProps yielded test * remove isAnticipatingCrossOriginResponse as it is no longer available * chore: update documentation to urlMatchesSameSiteProps to show why the strictPortMatch is an option * chore: refactor cors package to use a single parse function and update unit tests * chore: refactor getOrigin to use url origin * chore: update same-site documentation to now be dependent on cookies * chore: update same-site policy to be schemeful-same-site policy as we consider protocol mismatches to be not same-site commit 35d258737dfbfe893784d20894968a0d8de302dc Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Wed Sep 21 13:58:11 2022 -0500 chore: remove run-ct-examples --- appears to have been replaces with ct system tests commit e22d68107cca976362e88d1de220c5d31108c9ac Author: Emily Rohrbough <emilyrohrbough@users.noreply.github.com> Date: Wed Sep 21 12:54:28 2022 -0500 Update packages/server/lib/server-e2e.ts commit 37ed973118feccaedf2db2f7539d5c04bf6390de Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Wed Sep 21 12:07:04 2022 -0500 okay -- fix all the test (hopefully) commit f45d607a9240336c3957b23372e60579190806bf Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Wed Sep 21 07:40:17 2022 -0500 fix system tests and bug found for recreating global session after failed with validation commit 2205a0fcf2f83419e8c8df0c258462c5ff12932c Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Tue Sep 20 10:35:36 2022 -0500 broke things commit 9e2c15d23aa76d0d74f712b6ec456381f5a07a0b Merge: 8c3a68d80a 11dc3c1f62 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Tue Sep 20 08:09:19 2022 -0500 Merge branch 'develop' into cache-sessions commit 8c3a68d80a17fd33698343ebc8b6ac8d0afc4ad2 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Tue Sep 20 08:08:44 2022 -0500 fix tests commit ed098004bbb691088a900f0319fea7c8369c5ff7 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Sep 19 15:23:13 2022 -0500 clean up commit c98b640edd00c0f47ffc8046714255013268a309 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Sep 19 15:18:50 2022 -0500 fix commit 6968c8ea7ad633de354f063ad01ed88f7a0561e5 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Sep 19 15:18:21 2022 -0500 tests commit ce1dfc36e963ca6bc9dfef77e0b73701e1fea8e1 Merge: f356065ec4 823ffd0ca9 Author: Bill Glesias <bglesias@gmail.com> Date: Sun Sep 18 23:22:22 2022 -0400 Merge branch 'develop' into feature/simulated-top-cookie-handling commit f356065ec45318d603cb691e333405d9c41448f3 Author: Bill Glesias <bglesias@gmail.com> Date: Sun Sep 18 23:22:12 2022 -0400 feat: patch fetch and xhr inside cy.origin to get resourceType and credential Level (#23822) * chore: modify xhr-fetch-requests to handle onload and prep for use in patches tests * feat: add patches for fetch and xmlhttprequest * chore: short circuit fetch and xmlHttpRequests if conditions aren't met * chore: refactor xmlHttpRequest and fetch patches into individual files and add some basic types * chore: fix typo commit 0c265638ce02fc436ed2f9e489acfe31104feb07 Author: Bill Glesias <bglesias@gmail.com> Date: Sun Sep 18 22:28:32 2022 -0400 feat: add resource type header to CDP, extension, and electron (#23821) * feat: add X-Cypress-Request header in extension * feat: add X-Cypress-Request header in CDP * feat: add X-Cypress-Request header in electron * feat: add ExtractRequestedWithAndCredentialsIfApplicable middleware stub to remove the newly added x-cypress-request header * chore: change defaultHeaders variable name to requestModifications to more accurately reflect usage * chore: condense ExtractIsAUTFrameHeader and ExtractRequestedWithAndCredentialsIfApplicable into ExtractCypressMetadataHeaders middleware * test: add anti assertion for x-cypress-request and remove setting request verbage (as it does nothing yet) commit 7ac73deb0541d3ee69e2b3fe3ed1ba0a477c2eca Merge: d00dd12d5a a7945e835a Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Sep 16 12:11:39 2022 -0500 Merge branch 'develop' into cache-sessions commit d00dd12d5aab9d9ea67b8150a474f8f44b0f360a Merge: b0c8bc5c0e fac44fa699 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Sep 16 11:07:46 2022 -0500 Merge branch 'develop' into cache-sessions commit b0c8bc5c0e2a558aaf6fc1caa9b42d5df2f60516 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 15:41:24 2022 -0500 fix commit 294fb860c07983028b79cb78a4820c1e1766416e Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 14:11:15 2022 -0500 update lock file commit 5e7a8d5716c81ae20c2f13025a896c7618dec06a Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 13:50:05 2022 -0500 more clean up commit 1ff853f9c96929c1ad777f38e091b528b9d57f63 Merge: c6a6338f36 ec9539c284 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 13:17:17 2022 -0500 Merge branch 'sessions-instrument-panel' into cache-sessions commit c6a6338f3640443cb19da3858c370aad26cc8093 Merge: f459b21fc0 344ee2145e Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 13:14:00 2022 -0500 Merge branch 'cache-sessions-server' into cache-sessions commit f459b21fc03c24d5e59e044d4b91d26e30285b65 Merge: 00aa6531f9 6ee305ba41 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 13:10:52 2022 -0500 Merge branch 'develop' into cache-sessions commit 00aa6531f94fb3e9a13392c99f9f9640e8a07cfa Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 11:57:29 2022 -0500 some clean up--- this branch is pretty stale... commit bb6c1385938da3d202a78b81ea1c41f5ee723db6 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 11:37:50 2022 -0500 must have been a bad merge....[skip ci] commit 2f8644d7d86acb6464d576788e48d9c77a18ff67 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 11:32:31 2022 -0500 fix install err commit 13e986dfd5c5d01f6a17105364ec7d77b98ca67c Merge: 2e89992d71 12406c4e26 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Thu Sep 15 11:19:14 2022 -0500 Merge branch 'develop' into cache-sessions commit 2e89992d717cdb92202b474bfca361277b50b67a Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Wed Aug 24 18:23:33 2022 -0500 working with recent changes commit ab4f54b3356a10b37afc7a7e66505ea3d1367c4f Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Wed Aug 24 10:34:32 2022 -0500 more commit 64319186cde672903eb6379f11b3d8269fc167cb Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Tue Aug 23 15:45:38 2022 -0500 . commit e0f3891eb5c8e4fbddc8504c4e80f18cda33cc55 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Aug 22 18:24:38 2022 -0500 more commit 9d76e8fab6c09479ac27d51edd14454bb2f5a0e9 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Aug 22 18:06:21 2022 -0500 clean up commit 877d241fca2766b9ef5883d1000fa1ae1f5ec8b5 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Aug 22 18:04:11 2022 -0500 clean up commit f70fae8167cbc471c3894c3afc5cddb6c8bb1db8 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Aug 22 17:14:28 2022 -0500 check in commit d89d3d5e4be2014ff4d66fa1da36a7534ea85c8b Merge: 74b711a281 9ba3ed3b5a Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Aug 22 16:36:01 2022 -0500 Merge branch 'develop' into cache-sessions commit 74b711a281da94cbcf8cea0d43475f3bb7f33b04 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Wed Aug 17 12:47:52 2022 -0500 tests commit 9fa8cb8c0cb4d0d8faa91c8ea57d8b55e29afa6d Merge: 3727df85a2 89839eb2e0 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Tue Aug 16 13:22:27 2022 -0500 Merge branch 'develop' into cache-sessions commit 3727df85a2ffb730d11dc567c3b3bcce3bee98b8 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Tue Aug 16 13:20:24 2022 -0500 clean up commit ba56dde83241acfde454b12d128ed8472ad94107 Merge: 5402e4149e 17f430768b Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Aug 15 12:02:24 2022 -0500 Merge branch 'develop' into cache-sessions commit 5402e4149ea12e1404e949e665feffd0b07d2e1e Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Aug 15 12:01:29 2022 -0500 session instrument panel updates commit e5bf343197c7268ed70255abdc808e34bf38abf9 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Aug 12 15:47:19 2022 -0500 . commit 8c04c28dd4f2401210016d70a26b300445f069d7 Merge: 75190a469a f1122fcf62 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Aug 12 15:42:13 2022 -0500 Merge branch 'develop' into cache-sessions commit 75190a469a5c559b45429c4b7acdbda0654f4500 Merge: 6c906ae634 f272c635c6 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Wed Aug 10 09:39:48 2022 -0500 Merge branch 'develop' into cache-sessions commit 6c906ae63401497e83664a03ea18482636e662c3 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Wed Aug 10 09:30:49 2022 -0500 rm console.log commit e86ad257ec9972c6c1ff464e236983ec99f35d05 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Mon Aug 8 14:52:35 2022 -0500 update yarn lock commit b062dba6e48ed2090d80d02ef54f17ce3fbe3c3d Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Aug 5 12:28:22 2022 -0500 clean up my. logs commit 94b7aa443c7e20fa8ca96bbdb0e2bc33c8e2bf00 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Aug 5 12:27:08 2022 -0500 update sessions instrument panel to indicate global spec or not commit 6a9932315d149a05294b7be4fea973eeb62035d7 Author: Emily Rohrbough <emilyrohrbough@yahoo.com> Date: Fri Aug 5 08:58:55 2022 -0500 feat: cache sessions between specs
User facing changelog
n/a
Additional details
The function
vueCliHandler
inwebpack-dev-server/src/helpers/vueCLIHandlers.ts
is now asynchronous and re-implements vue-cli -> webpack.config.js with a fix to wait for the promise returned byinit
if the init-phase was asynchronous.Steps to test
Please see information in issue-23896 for a test setup.
In the test setup run
./node_modules/.bin/cypress run --component
to execute the component test.How has the user experience changed?
Now adding a
vue.config.js
file to a repository with"type": "module"
inpackage.json
does not crash because the compiler is missing par.PR Tasks
cypress-documentation
?type definitions
?